package com.lovo.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 * ?????
 * </p>
 *
 * @author lovo
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Sale extends Model {

    private static final long serialVersionUID = 1L;

    @TableId("saleId")
    private Integer saleid;

    private String sCode;

    private String sStatus;

    @TableField("personName")
    private String personname;

    private String sAddress;

    private Integer sMoney;

    private String sType;

    private String sTime;
    @TableField("userId")
    private Integer userid;

    @TableField(exist = false)
    private List<Ordergoods> ordergoodsList;


}
